package com.cscec5b.inspection.dto;

import java.time.LocalDateTime;

public class TaskListItem {
    private Long taskId;
    private Long projectId;
    private String projectName;
    private String taskType;
    private String taskLocation;
    private String taskName;          // 拼好的 中文任务名
    private String taskState;         // '0' | '1'
    private String taskStateCn;       // 待办 | 已办
    private LocalDateTime taskStarttime;
    private LocalDateTime taskDeadline;
    // getter/setter 省略

    // getter/setter 省略或用 lombok
    public Long getTaskId() { return taskId; }
    public void setTaskId(Long taskId) { this.taskId = taskId; }
    public Long getProjectId() { return projectId; }
    public void setProjectId(Long projectId) { this.projectId = projectId; }
    public String getProjectName() { return projectName; }
    public void setProjectName(String projectName) { this.projectName = projectName; }
    public String getTaskType() { return taskType; }
    public void setTaskType(String taskType) { this.taskType = taskType; }
    public String getTaskLocation() { return taskLocation; }
    public void setTaskLocation(String taskLocation) { this.taskLocation = taskLocation; }
    public String getTaskName() { return taskName; }
    public void setTaskName(String taskName) { this.taskName = taskName; }
    public String getTaskState() { return taskState; }
    public void setTaskState(String taskState) { this.taskState = taskState; }
    public String getTaskStateCn() { return taskStateCn; }
    public void setTaskStateCn(String taskStateCn) { this.taskStateCn = taskStateCn; }
    public LocalDateTime getTaskStarttime() { return taskStarttime; }
    public void setTaskStarttime(LocalDateTime taskStarttime) { this.taskStarttime = taskStarttime; }
    public LocalDateTime getTaskDeadline() { return taskDeadline; }
    public void setTaskDeadline(LocalDateTime taskDeadline) { this.taskDeadline = taskDeadline; }
}